﻿namespace Digitalmes.Application.Common.Strategies;

/// <summary>
/// 策略注册工厂
/// </summary>
public interface IStrategyRegisterFactory
{
    /// <summary>
    /// 获取策略，没有找到则返回 null。
    /// </summary>
    /// <param name="name">注册的策略名称。</param>
    /// <returns></returns>
    IStrategy? GetStrategy(string name);
}
